﻿/*
Post-Deployment Script Template							
--------------------------------------------------------------------------------------
 This file contains SQL statements that will be appended to the build script.		
 Use SQLCMD syntax to include a file in the post-deployment script.			
 Example:      :r .\myfile.sql								
 Use SQLCMD syntax to reference a variable in the post-deployment script.		
 Example:      :setvar TableName MyTable							
               SELECT * FROM [$(TableName)]					
--------------------------------------------------------------------------------------
*/

delete from dbo.SQLServerVersions
delete from dbo.ServiceType


INSERT [dbo].[ServiceType] ([ServiceTypeID], [Description]) VALUES (1, N'DB')
INSERT [dbo].[ServiceType] ([ServiceTypeID], [Description]) VALUES (2, N'Agent')
INSERT [dbo].[ServiceType] ([ServiceTypeID], [Description]) VALUES (3, N'Search')
INSERT [dbo].[ServiceType] ([ServiceTypeID], [Description]) VALUES (4, N'SSIS')
INSERT [dbo].[ServiceType] ([ServiceTypeID], [Description]) VALUES (5, N'Analysis')
INSERT [dbo].[ServiceType] ([ServiceTypeID], [Description]) VALUES (6, N'Reporting')
INSERT [dbo].[ServiceType] ([ServiceTypeID], [Description]) VALUES (7, N'Browser')
INSERT [dbo].[ServiceType] ([ServiceTypeID], [Description]) VALUES (8, N'Notification')



-- Go to http://sqlserverbuilds.blogspot.com/


USE [SQLServerOptimizer]
GO
/****** Object:  Table [dbo].[SQLServerVersions]    Script Date: 12/30/2011 14:38:29 ******/
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'11.00.1750', N'Microsoft SQL Server 2012 Release Candidate 0 (RC0)', N'November 17, 2011 *new')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'11.00.1440', N'Microsoft SQL Server 2012 (codename Denali) Community Technology Preview 3 (CTP3)', N'July 11, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'11.00.1103', N'Microsoft SQL Server 2012 (codename Denali) Community Technology Preview 1 (CTP1)', N'November 8, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.2789', N'2591748 Cumulative update package 3 (CU3) for SQL Server 2008 R2 Service Pack 1', N'October 17, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.2776', N'2606883 FIX: Slow performance when an AFTER trigger runs on a partitioned table in SQL Server 2008 R2', N'October 18, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.2772', N'2567714 Cumulative update package 2 (CU2) for SQL Server 2008 R2 Service Pack 1', N'August 15, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.2769', N'2544793 Cumulative update package 1 (CU1) for SQL Server 2008 R2 Service Pack 1', N'July 18, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.2500', N'SQL Server 2008 R2 Service Pack 1 (SP1)', N'July 11, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1807', N'2591746 Cumulative update package 10 (CU10) for SQL Server 2008 R2', N'October 19, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1804', N'2567713 Cumulative update package 9 (CU9) for SQL Server 2008 R2', N'August 16, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1800', N'2574699 FIX: Database data files might be incorrectly marked as sparse in SQL Server 2008 R2 or in SQL Server 2008 even when the physical files are marked as not sparse in the file system', N'October 18, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1797', N'2534352 Cumulative update package 8 (CU8) for SQL Server 2008 R2', N'June 20, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1790', N'2494086 MS11-049: Description of the security update for SQL Server 2008 R2 QFE: June 14, 2011', N'June 17, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1777', N'2507770 Cumulative update package 7 (CU7) for SQL Server 2008 R2', N'June 16, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1769', N'2520808 FIX: Non-yielding scheduler error when you run a query that uses a TVP in SQL Server 2008 or in SQL Server 2008 R2 if SQL Profiler or SQL Server Extended Events is used', N'April 18, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1765', N'2489376 Cumulative update package 6 (CU6) for SQL Server 2008 R2', N'February 21, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1753', N'2438347 Cumulative update package 5 (CU5) for SQL Server 2008 R2', N'December 23, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1746', N'2345451 Cumulative update package 4 (CU4) for SQL Server 2008 R2', N'October 18, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1734', N'2261464 Cumulative update package 3 (CU3) for SQL Server 2008 R2', N'August 20, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1720', N'2072493 Cumulative update package 2 (CU2) for SQL Server 2008 R2', N'June 25, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1702', N'981355 Cumulative update package 1 (CU1) for SQL Server 2008 R2', N'May 18, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1617', N'2494088 MS11-049: Description of the security update for SQL Server 2008 R2 GDR: June 14, 2011', N'June 14, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1600', N'SQL Server 2008 R2 RTM', N'April 21, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1352', N'Microsoft SQL Server 2008 R2 November Community Technology Preview (CTP)', N'November 12, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.50.1092', N'Microsoft SQL Server 2008 R2 August Community Technology Preview (CTP)', N'June 30, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.5768', N'2633143 Cumulative update package 2 (CU2) for SQL Server 2008 Service Pack 3', N'November 21, 2011 *new')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.5766', N'2617146 Cumulative update package 1 (CU1) for SQL Server 2008 Service Pack 3', N'October 18, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.5500', N'SQL Server 2008 Service Pack 3 (SP3)', N'October 6, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.5416', N'SQL Server 2008 Service Pack 3 CTP', N'August 22, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.4323', N'2617148 Cumulative update package 7 (CU7) for SQL Server 2008 Service Pack 2', N'November 21, 2011 *new')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.4321', N'2582285 Cumulative update package 6 (CU6) for SQL Server 2008 Service Pack 2', N'September 20, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.4316', N'2555408 Cumulative update package 5 (CU5) for SQL Server 2008 Service Pack 2', N'July 18, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.4285', N'2527180 Cumulative update package 4 (CU4) for SQL Server 2008 Service Pack 2', N'May 16, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.4279', N'2498535 Cumulative update package 3 (CU3) for SQL Server 2008 Service Pack 2', N'March 11, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.4272', N'2467239 Cumulative update package 2 (CU2) for SQL Server 2008 Service Pack 2', N'February 10, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.4266', N'2289254 Cumulative update package 1 (CU1) for SQL Server 2008 Service Pack 2', N'November 15, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.4000', N'SQL Server 2008 Service Pack 2 (SP2)', N'September 29, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.3798', N'SQL Server 2008 Service Pack 2 CTP', N'July 7, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2850', N'2582282 Cumulative update package 16 (CU16) for SQL Server 2008 Service Pack 1', N'September 19, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2847', N'2555406 Cumulative update package 15 (CU15) for SQL Server 2008 Service Pack 1', N'July 18, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2821', N'2527187 Cumulative update package 14 (CU14) for SQL Server 2008 Service Pack 1', N'May 16, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2816', N'2497673 Cumulative update package 13 (CU13) for SQL Server 2008 Service Pack 1', N'March 22, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2808', N'2467236 Cumulative update package 12 (CU12) for SQL Server 2008 Service Pack 1', N'February 10, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2804', N'2413738 Cumulative update package 11 (CU11) for SQL Server 2008 Service Pack 1', N'November 15, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2799', N'2279604 Cumulative update package 10 (CU10) for SQL Server 2008 Service Pack 1', N'September 21, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2789', N'2083921 Cumulative update package 9 (CU9) for SQL Server 2008 Service Pack 1', N'July 21, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2787', N'2231277 FIX: The Reporting Services service stops unexpectedly after you apply SQL Server 2008 SP1 CU 7 or CU8', N'July 30, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2775', N'981702 Cumulative update package 8 (CU8) for SQL Server 2008 Service Pack 1', N'May 17, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2766', N'979065 Cumulative update package 7 (CU7) for SQL Server 2008 Service Pack 1', N'March 26, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2757', N'977443 Cumulative update package 6 (CU6) for SQL Server 2008 Service Pack 1', N'January 18, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2746', N'975977 Cumulative update package 5 (CU5) for SQL Server 2008 Service Pack 1', N'November 16, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2740', N'976761 FIX: Error message when you perform a rolling upgrade in a SQL Server 2008 cluster : "18401, Login failed for user SQLTEST\AgentService. Reason: Server is in script upgrade mode. Only administrator can connect at this time.[SQLState 42000]"', N'November 24, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2734', N'973602 Cumulative update package 4 (CU4) for SQL Server 2008 Service Pack 1', N'September 22, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2723', N'971491 Cumulative update package 3 (CU3) for SQL Server 2008 Service Pack 1', N'July 21, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2714', N'970315 Cumulative update package 2 (CU2) for SQL Server 2008 Service Pack 1', N'May 18, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2712', N'970507 FIX: Error message in SQL Server 2008 when you run an INSERT SELECT statement on a table: "Violation of PRIMARY KEY constraint ''<PrimaryKey>''. Cannot insert duplicate key in object ''<TableName>''"', N'July 21, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2710', N'969099 Cumulative update package 1 (CU1) for SQL Server 2008 Service Pack 1', N'April 16, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2573', N'2494096 MS11-049: Description of the security update for SQL Server 2008 Service Pack 1 GDR: June 14, 2011', N'June 14, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2531', N'SQL Server 2008 Service Pack 1 (SP1)', N'April 7, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.2520', N'SQL Server 2008 Service Pack 1 - CTP', N'February 23, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1835', N'979064 Cumulative update package 10 (CU10) for SQL Server 2008', N'March 15, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1828', N'977444 Cumulative update package 9 (CU9) for SQL Server 2008', N'January 18, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1823', N'975976 Cumulative update package 8 (CU8) for SQL Server 2008', N'November 16, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1818', N'973601 Cumulative update package 7 (CU7) for SQL Server 2008', N'September 21, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1812', N'971490 Cumulative update package 6 (CU6) for SQL Server 2008', N'July 21, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1806', N'969531 Cumulative update package 5 (CU5) for SQL Server 2008', N'May 18, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1798', N'963036 Cumulative update package 4 (CU4) for SQL Server 2008', N'March 17, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1779', N'958186 Cumulative update package 2 (CU2) for SQL Server 2008', N'November 19, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1771', N'958611 FIX: You may receive incorrect results when you run a query that references three or more tables in the FROM clause in SQL Server 2008', N'October 29, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1763', N'956717 Cumulative update package 1 (CU1) for SQL Server 2008', N'October 28, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1750', N'956718 FIX: A MERGE statement may not enforce a foreign key constraint when the statement updates a unique key column that is not part of a clustering key that has a single row as the update source in SQL Server 2008', N'August 25, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1600', N'SQL Server 2008 RTM', N'August 7, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1442', N'Microsoft SQL Server 2008 RC0', N'June 5, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1300', N'Microsoft SQL Server 2008 CTP, February 2008', N'February 19, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1075', N'Microsoft SQL Server 2008 CTP, November 2007', N'November 18, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1049', N'SQL Server 2008 CTP, July 2007', N'July 31, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1019', N'SQL Server 2008 CTP, June 2007', N'May 21, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.5266', N'2507769 Cumulative update package 3 (CU3) for SQL Server 2005 Service Pack 4', N'March 22, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.5259', N'2489409 Cumulative update package 2 (CU2) for SQL Server 2005 Service Pack 4', N'February 22, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.5254', N'2464079 Cumulative update package 1 (CU1) for SQL Server 2005 Service Pack 4', N'December 24, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.5057', N'2494120 MS11-049: Description of the security update for SQL Server 2005 Service Pack 4 GDR: June 14, 2011', N'June 14, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.5000', N'SQL Server 2005 Service Pack 4 (SP4)', N'December 17, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4912', N'SQL Server 2005 Service Pack 4 (SP4) - Customer Technology Preview (CTP)', N'November 3, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4325', N'2507766 Cumulative update package 15 (CU15) for SQL Server 2005 Service Pack 3', N'March 22, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4317', N'2489375 Cumulative update package 14 (CU14) for SQL Server 2005 Service Pack 3', N'February 21, 2011')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4315', N'2438344 Cumulative update package 13 (CU13) for SQL Server 2005 Service Pack 3', N'December 23, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4311', N'2345449 Cumulative update package 12 (CU12) for SQL Server 2005 Service Pack 3', N'October 18, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4309', N'2258854 Cumulative update package 11 (CU11) for SQL Server 2005 Service Pack 3', N'August 16, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4305', N'983329 Cumulative update package 10 (CU10) for SQL Server 2005 Service Pack 3', N'June 23, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4294', N'980176 Cumulative update package 9 (CU9) for SQL Server 2005 Service Pack 3', N'April 19, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4285', N'978915 Cumulative update package 8 (CU8) for SQL Server 2005 Service Pack 3', N'February 16, 2010')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4273', N'976951 Cumulative update package 7 (CU7) for SQL Server 2005 Service Pack 3', N'December 21, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4268', N'977151 FIX: Error message when you add a subscription to a republisher that is in a merge publication in SQL Server 2005: "Cannot create the subscription because the subscription already exists in the subscription database"', N'December 21, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4266', N'974648 Cumulative update package 6 (CU6) for SQL Server 2005 Service Pack 3', N'October 19, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4262', N'970894 MS09-062: Description of the security update for SQL Server 2005 Service Pack 3 QFE: October 13, 2009', N'October 13, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4230', N'972511 Cumulative update package 5 (CU5) for SQL Server 2005 Service Pack 3', N'August 17, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4226', N'970279 Cumulative update package 4 (CU4) for SQL Server 2005 Service Pack 3', N'June 16, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4224', N'971409 FIX: Error message when you run a query that contains duplicate join conditions in SQL Server 2005: "Internal Query Processor Error: The query processor could not produce a query plan"', N'June 16, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4220', N'967909 Cumulative update package 3 (CU3) for SQL Server 2005 Service Pack 3', N'April 20, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4216', N'967101 FIX: The performance of database mirroring decreases when you run a database maintenance job that generates a large number of transaction log activities in SQL Server 2005', N'April 20, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4211', N'961930 Cumulative update package 2 (CU2) for SQL Server 2005 Service Pack 3', N'February 17, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4207', N'959195 Cumulative update package 1 (CU1) for SQL Server 2005 Service Pack 3', N'December 20, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4053', N'970892 MS09-062: Description of the security update for SQL Server 2005 Service Pack 3 GDR: October 13, 2009', N'October 13, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4035', N'SQL Server 2005 Service Pack 3 (SP3)', N'December 15, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.4028', N'SQL Server 2005 Service Pack 3 (SP3) - CTP', N'October 27, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3356', N'976952 Cumulative update package 17 (CU17) for SQL Server 2005 Service Pack 2', N'December 21, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3355', N'974647 Cumulative update package 16 (CU16) for SQL Server 2005 Service Pack 2', N'October 19, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3353', N'970896 MS09-062: Description of the security update for SQL Server 2005 Service Pack 2 QFE: October 13, 2009', N'October 13, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3330', N'972510 Cumulative update package 15 (CU15) for SQL Server 2005 Service Pack 2', N'August 18, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3328', N'970278 Cumulative update package 14 (CU14) for SQL Server 2005 Service Pack 2', N'June 16, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3325', N'967908 Cumulative update package 13 (CU13) for SQL Server 2005 Service Pack 2', N'April 20, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3320', N'969142 FIX: Error message when you run the DBCC CHECKDB statement on a database in SQL Server 2005: "Unable to deallocate a kept page"', N'April 1, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3318', N'967199 FIX: The Wmiprvse.exe host process stops responding when you run a SQL Server 2005-based application that sends a Windows Management Instrumentation (WMI) query to the SQL Server WMI provider', N'April 20, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3315', N'962970 Cumulative update package 12 (CU12) for SQL Server 2005 Service Pack 2', N'February 17, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3310', N'960090 MS09-004: Description of the security update for SQL Server 2005 QFE: February 10, 2009', N'February 10, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3301', N'958735 Cumulative update package 11 (CU11) for SQL Server 2005 Service Pack 2', N'December 16, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3294', N'956854 Cumulative update package 10 (CU10) for SQL Server 2005 Service Pack 2', N'October 20, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3282', N'953752 Cumulative update package 9 (CU9) for SQL Server 2005 Service Pack 2', N'June 16, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3260', N'954950 FIX: Error message when you run a distributed query in SQL Server 2005: "OLE DB provider ''SQLNCLI'' for linked server ''<Linked Server>'' returned message ''No transaction is active''"', N'July 14, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3259', N'954831 FIX: In SQL Server 2005, the session that runs the TRUNCATE TABLE statement may stop responding, and you cannot end the session', N'August 14, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3259', N'954669 FIX: An ongoing MS DTC transaction is orphaned in SQL Server 2005', N'July 14, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3257', N'951217 Cumulative update package 8 (CU8) for SQL Server 2005 Service Pack 2', N'June 18, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3246', N'952233 FIX: All the MDX queries that are running on an instance of SQL Server 2005 Analysis Services are canceled when you start or stop a SQL Server Profiler trace for the instance', N'May 23, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3244', N'952330 FIX: The Replication Log Reader Agent may fail intermittently when a transactional replication synchronizes data in SQL Server 2005', N'June 3, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'10.00.1787', N'960484 Cumulative update package 3 (CU3) for SQL Server 2008', N'January 19, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3240', N'951204 FIX: An access violation occurs when you update a table through a view by using a cursor in SQL Server 2005', N'May 21, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3239', N'949095 Cumulative update package 7 (CU7) for SQL Server 2005 Service Pack 2', N'April 17, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3232', N'949959 FIX: Error message when you synchronize the data of a merge replication in SQL Server 2005: "The merge process is retrying a failed operation made to article ''ArticleName'' - Reason: ''Invalid input parameter values. Check the status values for detail.''"', N'March 19, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3231', N'949595 FIX: Error message when you run a query that uses a join condition in SQL Server 2005: "Non-yielding Scheduler"', N'March 18, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3231', N'949687 FIX: Error message when you run a transaction from a remote server by using a linked server in SQL Server 2005: "This operation conflicts with another pending operation on this transaction"', N'March 14, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3230', N'949199 FIX: Error message when you run queries on a database that has the SNAPSHOT isolation level enabled in SQL Server 2005: "Unable to deallocate a kept page"', N'March 7, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3228', N'946608 Cumulative update package 6 (CU6) for SQL Server 2005 Service Pack 2', N'February 19, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3224', N'947463 FIX: A stored procedure cannot finish its execution in SQL Server 2005', N'February 4, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3221', N'942908 FIX: The change may be undone during the later synchronizations when you change an article on the subscriber in SQL Server 2005', N'January 31, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3221', N'945443 FIX: A query takes longer to finish in SQL Server 2005 than in SQL Server 2000 when you open a fast forward-only cursor for the query', N'January 11, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3221', N'945916 FIX: Error messages when you delete some records of a table in a transaction or when you update some records of a table in a transaction in SQL Server 2005: "Msg 9002," "Msg 3314," and "Msg 9001"', N'January 10, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3221', N'945442 FIX: You cannot cancel the query execution immediately if you open a fast forward-only cursor for the query in SQL Server 2005', N'January 9, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3215', N'943656 Cumulative update package 5 (CU5) for SQL Server 2005 Service Pack 2', N'December 18, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3208', N'944902 FIX: A federated database server stops responding when you run parallel queries on a multiprocessor computer that uses NUMA architecture in SQL Server 2005', N'November 21, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3206', N'944677 FIX: Conflicts are not logged when you use the Microsoft SQL Server Subscriber Always Wins Conflict Resolver for an article in a merge replication in Microsoft SQL Server 2005', N'December 11, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3200', N'941450 Cumulative update package 4 (CU4) for SQL Server 2005 Service Pack 2', N'October 17, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3194', N'940933 FIX: Some changes from subscribers who use SQL Server 2005 Compact Edition or Web synchronization are not uploaded to the publisher when you use the republishing model in a merge publication in Microsoft SQL Server 2005', N'September 24, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'940943 FIX: The performance of a query that performs an insert operation or an update operation is much slower in SQL Server 2005 SP2 than in earlier versions of SQL Server 2005', N'August 29, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'940378 FIX: A cursor uses the incorrect transaction isolation level after you change the transaction isolation level for the cursor in SQL Server 2005', N'August 24, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'940269 FIX: Error message when you try to edit a SQL Server Agent job or a maintenance plan by using SQL Server Management Studio in SQL Server 2005: "String or binary data would be truncated"', N'August 23, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'940945 FIX: Performance is very slow when the same stored procedure is executed at the same time in many connections on a multiple-processor computer that is running SQL Server 2005', N'August 22, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'940937 FIX: Error message when you try to update the index key columns of a non-unique clustered index in SQL Server 2005: "Cannot insert duplicate key row in object ''ObjectName'' with unique index ''IndexName''"', N'August 21, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'940379 FIX: Error message when you use the UNLOAD and REWIND options to back up a database to a tape device in SQL Server 2005: "Operation on device ''<TapeDevice>'' exceeded retry count"', N'August 20, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'940375 FIX: Error message when you use the Copy Database Wizard to move a database from SQL Server 2000 to SQL Server 2005', N'August 20, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'937100 FIX: Error message when you run a SQL Server 2005 Integration Services package that contains a Script Component transformation:"Insufficient memory to continue the execution of the program"', N'August 20, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'940126 FIX: Error 9003 is logged in the SQL Server error log file when you use log shipping in SQL Server 2005', N'August 20, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'938363 FIX: Data is not replicated to a subscriber in a different partition by using parameterized row filters in SQL Server 2005', N'August 17, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'940935 FIX: Error message when you run a query that is associated with a parallel execution plan in SQL Server 2005: "SQL Server Assertion: File: <lckmgr.cpp>, line=10850 Failed Assertion = ''GetLocalLockPartition () == xactLockInfo->GetLocalLockPartition ()''"', N'August 17, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'940221 FIX: Error message when you try to create an Oracle publication by using the New Publication Wizard in SQL Server 2005 Service Pack 2: "OLE DB Provider ''OraOLEDB.ORACLE'' for Linked server <LinkedServerName> returned message"', N'August 17, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'940942 FIX: Error message when you run a stored procedure that references tables after you upgrade a database from SQL Server 2000 to SQL Server 2005: "A time-out occurred while waiting for buffer latch"', N'August 17, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'940384 FIX: You receive a System.InvalidCastException exception when you run an application that calls the Server.JobServer.Jobs.Contains method on a computer that has SQL Server 2005 Service Pack 2 installed', N'August 13, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'940281 FIX: An access violation may occur, and you may receive an error message, when you query the sys.dm_exe_sessions dynamic management view in SQL Server 2005', N'August 13, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'940545 FIX: The performance of insert operations against a table that contains an identity column may be slow in SQL Server 2005', N'August 10, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'940210 FIX: Error message when you try to insert more than 3 megabytes of data into a distributed partitioned view in SQL Server 2005: "A system assertion check has failed"', N'August 8, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3186', N'939537 Cumulative update package 3 (CU3) for SQL Server 2005 Service Pack 2', N'August 23, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3182', N'940128 FIX: You receive error 8623 when you run a complex query in SQL Server 2005', N'August 3, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3179', N'938243 FIX: Error message when you run a full-text query against a catalog in SQL Server 2005: "The execution of a full-text query failed. The content index is corrupt."', N'July 30, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3178', N'938086 FIX: A SQL Server Agent job fails when you run the SQL Server Agent job in the context of a proxy account in SQL Server 2005', N'August 22, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3177', N'939285 FIX: Error message when you run a stored procedure that starts a transaction that contains a Transact-SQL statement in SQL Server 2005: "New request is not allowed to start because it should come with valid transaction descriptor"', N'August 22, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3177', N'939562 FIX: Error message when you run a query that fires an INSTEAD OF trigger in SQL Server 2005 Service Pack 2: "Internal Query Processor Error The query processor could not produce a query plan"', N'August 20, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3177', N'939563 FIX: Error message when you synchronize a merge replication in Microsoft SQL Server 2005: "MSmerge_del_<GUID>, Line 42 String or binary data would be truncated"', N'August 9, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3175', N'936534 FIX: Error message when the Distribution Agent tries to apply the snapshot to the subscriber in SQL Server 2005: "Must declare the scalar variable "@Variable""', N'August 20, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3175', N'938671 FIX: The Distribution Agent may skip some rows when you configure a transactional replication that uses the "-SkipErrors" parameter in SQL Server 2005', N'August 1, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3175', N'936488 The service pack update or hotfix installation stops unexpectedly when you try to install either Microsoft SQL Server 2005 Service Pack 2 or a hotfix for SQL Server 2005 SP2', N'July 10, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3175', N'938825 FIX: A foreign key constraint that you drop on a table at the publisher is not dropped on the table at the subscriber in a SQL Server 2005 merge replication', N'June 29, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3175', N'936305 Cumulative update package 2 (CU2 build 3175) for SQL Server 2005 Service Pack 2 is available', N'June 28, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3171', N'937745 FIX: You may receive error messages when you try to log in to an instance of SQL Server 2005 and SQL Server handles many concurrent connections', N'July 16, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3169', N'937033 FIX: Error message when you run a linked server query in SQL Server 2005: "The oledbprovider unisys.dmsII.1 for linkserver ''<ServerName>'' reported an error the provider ran out of memory"', N'June 19, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3169', N'937041 FIX: Changes in the publisher database are not replicated to the subscribers in a transactional replication if the publisher database runs exposed in a database mirroring session in SQL Server 2005', N'May 25, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3166', N'936185 FIX: Blocking and performance problems may occur when you enable trace flag 1118 in SQL Server 2005 if the temporary table creation workload is high', N'June 11, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3166', N'934734 FIX: A database is marked as suspect when you update a table that contains a nonclustered index in SQL Server 2005', N'July 16, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3161', N'935789 FIX: On a computer that is running SQL Server 2005 and that has multiple processors, you may receive incorrect results when you run a query that contains an inner join', N'September 24, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3161', N'934706 FIX: Error message when you perform a piecemeal restore operation after you enable vardecimal database compression in SQL Server 2005 Service Pack 2: "Piecemeal restore is not supported when an upgrade is involved"', N'June 4, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3161', N'933724 FIX: The query performance is slow when you run a query that uses a user-defined scalar function against an instance of SQL Server 2005', N'May 9, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3161', N'935356 Cumulative update package (CU1 build 3161) for SQL Server 2005 Service Pack 2 is available', N'April 16, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3159', N'934459 FIX: The Check Database Integrity task and the Execute T-SQL Statement task in a maintenance plan may lose database context in certain circumstances in SQL Server 2005 builds 3150 through 3158', N'April 3, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3156', N'934226 FIX: Error message when you try to use Database Mail to send an e-mail message in SQL Server 2005: "profile name is not valid (Microsoft SQL Server, Error 14607)"', N'April 25, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3155', N'933808 FIX: Error message when you run a query that contains nested FOR XML clauses in SQL Server 2005: "The XML data type is damaged"', N'June 13, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3155', N'933499 FIX: Error message when you use transactional replication to replicate the execution of stored procedures to subscribers in SQL Server 2005: "Insufficient memory to run query"', N'June 12, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3155', N'933766 FIX: Failed assertion message in the Errorlog file when you perform various operations in SQL Server 2005: "Failed Assertion = ''fFalse'' Attempt to access expired blob handle (3)"', N'May 15, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3155', N'933549 FIX: You may receive an access violation when you perform a bulk copy operation in SQL Server 2005', N'April 25, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3154', N'934188 FIX: The Distribution Agent does not deliver commands to the Subscriber even if the Distribution Agent is running in SQL Server 2005', N'April 25, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3154', N'934109 FIX: The Distribution Agent generates an access violation when you configure a transactional replication publication to run an additional script after the snapshot is applied at the subscriber in SQL Server 2005', N'April 25, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3154', N'934106 FIX: SQL Server 2005 database engine generates failed assertion errors when you use the Replication Monitor to monitor the distribution database', N'April 25, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3153', N'933564 FIX: A gradual increase in memory consumption for the USERSTORE_TOKENPERM cache store occurs in SQL Server 2005', N'April 16, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3152', N'933097 Cumulative hotfix package (build 3152) for SQL Server 2005 Service Pack 2 is available', N'March 7, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3080', N'970895 MS09-062: Description of the security update for GDI+ for SQL Server 2005 Service Pack 2 GDR: October 13, 2009', N'October 13, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3077', N'960089 MS09-004: Description of the security update for SQL Server 2005 GDR: February 10, 2009', N'February 10, 2009')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3073', N'954606 MS08-052: Description of the security update for GDI+ for SQL Server 2005 Service Pack 2 GDR: September 9, 2008', N'September 9, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3068', N'941203 MS08-040: Vulnerabilities in Microsoft SQL Server could allow elevation of privilege', N'August 5, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3054', N'934458 FIX: The Check Database Integrity task and the Execute T-SQL Statement task in a maintenance plan may lose database context in certain circumstances in SQL Server 2005 builds 3042 through 3053', N'January 2, 2008')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3050', N'933508 Microsoft SQL Server 2005 Service Pack 2 issue: Cleanup tasks run at different intervals than intended', N'March 7, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3042', N'SQL Server 2005 Service Pack 2 (SP2)', N'February 19, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3033', N'SQL Server 2005 Service Pack 2 (SP2) - CTP December 2006', N'December 19, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3027', N'SQL Server 2005 Service Pack 2 (SP2) - CTP November 2006', N'November 6, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.3026', N'929376 FIX: A "17187" error message may be logged in the Errorlog file when an instance of SQL Server 2005 is under a heavy load', N'February 14, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2239', N'940961 FIX: Transactions that are being committed on the principal server may not be copied to the mirror server when a database mirroring failover occurs in SQL Server 2005', N'September 24, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2237', N'940719 FIX: A memory leak occurs when you call the Initialize method and the Terminate method of the SQLDistribution object in a loop in an application that you develop by using Microsoft ActiveX replication controls in SQL Server 2005', N'September 24, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2236', N'940287 FIX: Error message when you use Service Broker in SQL Server 2005: "An error occurred while receiving data: ''64(The specified network name is no longer available.)''"', N'July 29, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2236', N'940286 FIX: A Service Broker endpoint stops passing messages in a database mirroring session of SQL Server 2005', N'July 26, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2234', N'937343 FIX: SQL Server 2005 stops and then restarts unexpectedly and errors occur in the tempdb database', N'June 20, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2233', N'937545 FIX: Error message when you use the BULK INSERT statement to import a data file into a table in SQL Server 2005 with SP1: "The OLE DB provider "BULK" for linked server "(null)" reported an error"', N'June 18, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2233', N'933499 FIX: Error message when you use transactional replication to replicate the execution of stored procedures to subscribers in SQL Server 2005: "Insufficient memory to run query"', N'June 12, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2233', N'937544 FIX: You may receive error 3456 when you try to restore a transaction log for a SQL Server 2005 database', N'June 5, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2232', N'937277 FIX: A memory leak occurs when you use the sp_OAMethod stored procedure to call a method of a COM object in SQL Server 2005', N'June 19, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2231', N'934812 FIX: You cannot bring the SQL Server group online in a cluster environment after you rename the virtual server name of the default instance of SQL Server 2005', N'November 6, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2230', N'936179 FIX: Error message when you use SQL Native Client to connect to an instance of a principal server in a database mirroring session: "The connection attempted to fail over to a server that does not have a failover partner"', N'September 20, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2229', N'935446 FIX: You receive error messages when you use the BULK INSERT statement in SQL Server 2005 to import data in bulk', N'June 11, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2227', N'933265 FIX: You may receive error 1203 when you run an INSERT statement against a table that has an identity column in SQL Server 2005', N'June 26, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2226', N'934065 FIX: Error message when the Replication Merge Agent runs to synchronize a merge replication subscription in SQL Server 2005: "The merge process failed to execute a query because the query timed out"', N'June 22, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2226', N'933762 FIX: You receive error 18815 when the Log Reader Agent runs for a transactional publication in SQL Server 2005', N'June 22, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2223', N'932393 FIX: You may experience poor performance after you install SQL Server 2005 Service Pack 1', N'June 18, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2221', N'931593 FIX: A script task or a script component may not run correctly when you run an SSIS package in SQL Server 2005 build 2153 and later builds', N'July 11, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2219', N'932115 FIX: The ghost row clean-up thread does not remove ghost rows on some data files of a database in SQL Server 2005', N'April 25, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2218', N'931843 FIX: SQL Server 2005 does not reclaim the disk space that is allocated to the temporary table if the stored procedure is stopped', N'April 25, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2216', N'931821 FIX: High CPU utilization by SQL Server 2005 may occur when you use NUMA architecture on a computer that has an x64-based version of SQL Server 2005 installed', N'May 15, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2214', N'930505 FIX: Error message when you run DML statements against a table that is published for merge replication in SQL Server 2005: "Could not find stored procedure"', N'February 19, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2214', N'929240 FIX: I/O requests that are generated by the checkpoint process may cause I/O bottlenecks if the I/O subsystem is not fast enough to sustain the IO requests in SQL Server 2005', N'February 13, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2211', N'930284 FIX: You receive error 1456 when you try to add a witness to a DBM session in SQL Server 2005', N'February 20, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2211', N'930283 FIX: You receive error 1456 when you add a witness to a database mirroring session and the database name is the same as an existing database mirroring session in SQL Server 2005', N'February 14, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2209', N'929278 FIX: SQL Server 2005 may not perform histogram amendments when you use trace flags 2389 and 2390', N'February 7, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2208', N'929179 FIX: A memory leak may occur every time that you synchronize a SQL Server Mobile subscriber in SQL Server 2005', N'January 9, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2207', N'928394 FIX: The changes are not reflected in the publication database after you reinitialize the subscriptions in SQL Server 2005', N'December 19, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2207', N'928372 FIX: Error message when you use a synonym for a stored procedure in SQL Server 2005: "A severe error occurred on the current command"', N'December 19, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2207', N'928789 FIX: Error message in the database mail log when you try to use the sp_send_dbmail stored procedure to send an e-mail in SQL Server 2005: "Invalid XML message format received on the ExternalMailQueue"', N'January 2, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2206', N'928083 FIX: You may receive an error message when you run a CLR stored procedure or CLR function that uses a context connection in SQL Server 2005', N'February 1, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2206', N'928537 FIX: The full-text index population for the indexed view is very slow in SQL Server 2005', N'January 12, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2206', N'926493 FIX: Error message when you restore a transaction-log backup that is generated in SQL Server 2000 SP4 to an instance of SQL Server 2005: Msg 3456, Level 16, State 1, Line 1. Could not redo log record"', N'January 2, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2206', N'928539 FIX: An access violation is logged in the SQL Server Errorlog file when you run a query that uses a plan guide in SQL Server 2005', N'December 13, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2202', N'927643 FIX: Some search results are missing when you perform a full-text search operation on a Windows SharePoint Services 2.0 site after you upgrade to SQL Server 2005', N'February 16, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2201', N'927289 FIX: Updates to the SQL Server Mobile subscriber may not be reflected in the SQL Server 2005 merge publication', N'January 10, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2198', N'926613 FIX: You may receive incorrect results when you query a table that is published in a transactional replication in SQL Server 2005', N'February 21, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2198', N'926106 FIX: You receive an error message when you use the Print Preview option on a large report in SQL Server 2005 Reporting Services', N'February 20, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2198', N'924807 FIX: The restore operation may take a long time to finish when you restore a database in SQL Server 2005', N'February 2, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2198', N'924264 FIX: The metadata of the Description object of a Key Performance Indicator appears in the default language after you define a translation for the Description object in SQL Server 2005 Business Intelligence Development Studio', N'December 13, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2198', N'926612 FIX: SQL Server Agent does not send an alert quickly or does not send an alert when you use an alert of the SQL Server event alert type in SQL Server 2005', N'January 4, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2198', N'926773 FIX: Error message when you run a query that uses a fast forward-only cursor in SQL Server 2005: "Query processor could not produce a query plan because of the hints defined in this query"', N'November 16, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2198', N'926611 FIX: SQL Server 2005 may not send a message notification that is based on the specific string in the forwarded event when a computer that is running SQL Server 2000 forwards an event to a computer that is running SQL Server 2005', N'November 28, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2198', N'924808 FIX: You receive an error message, or you obtain an incorrect result when you query data in a partitioned table that does not have a clustered index in SQL Server 2005', N'December 13, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2198', N'925277 FIX: You may experience very large growth increments of a principal database after you manually fail over a database mirroring session in SQL Server 2005', N'January 2, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2196', N'926285 Fix: Error message when you convert a column from the varbinary(max) data type to the XML data type in SQL Server 2005: "Msg 6322, Level 16, State 1, Line 2 Too many attributes or namespace definitions"', N'November 10, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2196', N'926335 FIX: Error message when you trace the Audit Database Management event and you try to bring a database online in SQL Server 2005: “Msg 942, Level 14, State 4, Line 1”', N'December 5, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2195', N'926240 FIX: SQL Server 2005 may stop responding when you use the SqlBulkCopy class to import data from another data source', N'December 19, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2194', N'925744 FIX: Error message when you try to use a SQL Server authenticated login to log on to an instance of SQL Server 2005: "Logon error: 18456"', N'October 20, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2192', N'924954 FIX: Error message when you use a table-valued function (TVF) together with the CROSS APPLY operator in a query in SQL Server 2005: "There is insufficient system memory to run this query"', N'September 29, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2192', N'925335 FIX: Error message when you use a label after a Transact-SQL query in SQL Server 2005: "Incorrect syntax near ''X''"', N'October 5, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2191', N'925135 FIX: An empty string is replicated as a NULL value when you synchronize a table to a SQL Server 2005 Compact Edition subscriber', N'December 6, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2190', N'925227 FIX: Error message when you call the SQLTables function against an instance of SQL Server 2005: "Invalid cursor state (0)"', N'October 16, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2189', N'925153 FIX: You may receive different date values for each row when you use the getdate function within a case statement in SQL Server 2005', N'September 22, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2187', N'923849 FIX: When you run a query that references a partitioned table in SQL Server 2005, query performance may decrease', N'September 22, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2181', N'923605 FIX: A deadlock occurs and a query never finishes when you run the query on a computer that is running SQL Server 2005 and has multiple processors', N'February 19, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2181', N'923624 FIX: Error message when you run an application against SQL Server 2005 that uses many unique user logins or performs many user login impersonations: "insufficient system memory to run this query"', N'October 4, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2176', N'922594 FIX: Error message when you use SQL Server 2005: "High priority system task thread Operating system error Exception 0xAE encountered"', N'February 12, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2176', N'923296 FIX: Log Reader Agent fails, and an assertion error message is logged when you use transactional replication in SQL Server 2005', N'September 6, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2175', N'921395 FIX: The color and the background image may not appear when you try to display a report in HTML format in Report Manager in SQL Server 2005 Reporting Services', N'August 8, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2175', N'917905 FIX: SQL Server 2005 performance may be slower than SQL Server 2000 performance when you use an API server cursor', N'August 14, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2175', N'922578 FIX: In SQL Server 2005, the sp_altermessage stored procedure does not suppress system error messages that are logged in the SQL Server error log and in the Application log', N'August 30, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2175', N'922438 FIX: A query may take a long time to compile when the query contains several JOIN clauses against a SQL Server 2005 database', N'December 14, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2175', N'921536 FIX: A handled access violation may occur in the CValSwitch::GetDataX function when you run a complex query in SQL Server 2005', N'December 18, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2174', N'922063 FIX: You may notice a large increase in compile time when you enable trace flags 2389 and 2390 in SQL Server 2005 Service Pack 1', N'July 25, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2167', N'920974 FIX: SQL Server 2005 treats an identity column in a view as an ordinary int column when the compatibility level of the database is set to 80', N'August 9, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2164', N'919243 FIX: Some rows in the Text Data column are always displayed for a trace that you create by using SQL Server Profiler in SQL Server 2005', N'February 8, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2164', N'920346 FIX: SQL Server 2005 may overestimate the cardinality of the JOIN operator when a SQL Server 2005 query contains a join predicate that is a multicolumn predicate', N'September 19, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2164', N'920347 FIX: The SQL Server 2005 query optimizer may incorrectly estimate the cardinality for a query that has a predicate that contains an index union alternative', N'September 19, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2164', N'919929 FIX: Error message when the Replication Merge Agent runs in SQL Server 2005: "Source: MSSQL_REPL, Error number: MSSQL_REPL-2147199402"', N'October 26, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2164', N'921003 FIX: You may receive an error message when you manually define a Back Up Database task in SQL Server 2005 to back up the transaction log', N'August 29, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2164', N'920206 FIX: System performance may be slow when an application submits many queries against a SQL Server 2005 database that uses simple parameterization', N'September 26, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2164', N'918882 FIX: A query plan is not cached in SQL Server 2005 when the text of the hint is a large object', N'September 6, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2164', N'919636 FIX: Memory usage of the compiled query plan may unexpectedly increase in SQL Server 2005', N'July 26, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2164', N'919775 FIX: The BULK INSERT statement may not return any errors when you try to import data from a text file to a table by using the BULK INSERT statement in Microsoft SQL Server 2005', N'August 9, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2156', N'919611 FIX: The value of the automatic growth increment of a database file may be very large in SQL Server 2005 with Service Pack 1', N'July 26, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2153', N'918222 Cumulative hotfix package (build 2153) for SQL Server 2005 is available', N'September 14, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2153', N'919224 FIX: You may receive an error message when you install the cumulative hotfix package (build 2153) for SQL Server 2005', N'May 23, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2050', N'932555 FIX: A script task or a script component may not run correctly when you run an SSIS package in SQL Server 2005 build 2047', N'July 11, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2047', N'SQL Server 2005 Service Pack 1 (SP1)', N'April 18, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2040', N'SQL Server 2005 Service Pack 1 (SP1) CTP March 2006', N'March 12, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.2029', N'SLQ Server 2005 Service Pack 1 (SP1) Beta', N'')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1561', N'932556 FIX: A script task or a script component may not run correctly when you run an SSIS package in SQL Server 2005 build 1500 and later builds', N'July 11, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1558', N'926493 FIX: Error message when you restore a transaction-log backup that is generated in SQL Server 2000 SP4 to an instance of SQL Server 2005: "Msg 3456, Level 16, State 1, Line 1. Could not redo log record"', N'January 4, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1554', N'926292 FIX: When you query through a view that uses the ORDER BY clause in SQL Server 2005, the result is still returned in random order', N'June 26, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1551', N'922527 FIX: Error message when you schedule some SQL Server 2005 Integration Services packages to run as jobs: "Package <PackageName> has been cancelled"', N'January 22, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1551', N'922804 FIX: After you detach a Microsoft SQL Server 2005 database that resides on network-attached storage, you cannot reattach the SQL Server database', N'November 22, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1550', N'917887 FIX: The value of the automatic growth increment of a database file may be very large in SQL Server 2005', N'July 26, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1550', N'921106 FIX: You receive an error message when you try to create a differential database backup in SQL Server 2005', N'November 22, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1547', N'918276 FIX: You notice additional random trailing character in values when you retrieve the values from a fixed-size character column or a fixed-size binary column of a table in SQL Server 2005', N'November 20, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1545', N'917905 FIX: SQL Server 2005 performance may be slower than SQL Server 2000 performance when you use an API server cursor', N'August 14, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1541', N'917888 FIX: Error message when you use a server-side cursor to run a large complex query in SQL Server 2005: "Error: 8623, Severity: 16, State: 1 The query processor ran out of internal resources"', N'November 22, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1541', N'917971 FIX: You may receive more than 100,000 page faults when you try to back up a SQL Server 2005 database that contains hundreds of files and file groups', N'November 22, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1539', N'917738 FIX: SQL Server 2005 system performance may be slow when you use a keyset-driven cursor to execute a FETCH statement', N'August 11, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1538', N'917824 FIX: The SQL Server 2005 SqlCommandBuilder.DeriveParameters method returns an exception when the input parameter is a XML parameter that has an associated XSD from an SQL schema', N'July 26, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1536', N'917016 FIX: The monitor server does not monitor all primary servers and secondary servers when you configure log shipping in SQL Server 2005', N'July 26, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1534', N'916706 FIX: When you run the "dbcc dbreindex" command or the "alter index" command, some transactions are not replicated to the subscribers in a transactional replication in SQL Server 2005', N'May 15, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1533', N'916086 FIX: Errors may be generated in the tempdb database when you create and then drop many temporary tables in SQL Server 2005', N'July 26, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1532', N'916046 FIX: Indexes may grow very large when you insert a row into a table and then update the same row in SQL Server 2005', N'January 9, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1531', N'915918 FIX: The internal deadlock monitor may not detect a deadlock between two or more sessions in SQL Server 2005', N'July 26, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1528', N'915309 FIX: When you start a merge agent, synchronization between the subscriber and the publisher takes a long time to be completed in SQL Server 2005', N'January 15, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1528', N'915308 FIX: The CPU usage of the server reaches 100% when many DML activities occur in SQL Server 2005', N'January 4, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1528', N'915307 FIX: You experience a slow uploading process if conflicts occur when many merge agents upload changes to the publishers at the same time in SQL Server 2005', N'January 11, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1528', N'915306 FIX: The merge agent fails and a "permission denied" error message is logged when you synchronize a SQL Server 2005-based merge publication', N'January 8, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1528', N'915112 FIX: Error message when an ADO.NET-connected application tries to reuse a connection from the connection pool in SQL Server 2005: "The request failed to run because the batch is aborted"', N'July 26, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1519', N'913494 FIX: The merge agent does not use a specified custom user update to handle conflicting UPDATE statements in SQL Server 2005', N'January 20, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1518', N'913941 FIX: A SQL Server login may have more permissions when you log on to an instance of SQL Server 2005', N'September 22, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1518', N'912472 FIX: An incorrect result may appear in the subscribing database when you set database mirroring for a database and database failover occurs in SQL Server 2005', N'July 26, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1518', N'913371 FIX: You may receive error messages when you use the sp_cursoropen statement to open a cursor on a user-defined stored procedure in SQL Server 2005', N'July 26, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1514', N'912471 FIX: The replication on the server does not work any longer when you manually fail over databases in SQL Server 2005', N'July 26, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1503', N'911662 FIX: You may receive an access violation error message when you run a SELECT query in SQL Server 2005', N'July 26, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1502', N'915793 FIX: You cannot restore the log backups on the mirror server after you remove database mirroring for the mirror database in SQL Server 2005', N'July 26, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1500', N'910416 FIX: Error message when you run certain queries or certain stored procedures in SQL Server 2005: "A severe error occurred on the current command"', N'June 1, 2006')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1406', N'932557 FIX: A script task or a script component may not run correctly when you run an SSIS package in SQL Server 2005 build 1399', N'July 11, 2007')
INSERT [dbo].[SQLServerVersions] ([Version], [Description], [DateUpdated]) VALUES (N'9.00.1399', N'SQL Server 2005 RTM', N'November 7, 2005')
Go
INSERT [dbo].[Scope] ([ScopeId], [Description]) VALUES (1, N'Server')
INSERT [dbo].[Scope] ([ScopeId], [Description]) VALUES (2, N'Service')
INSERT [dbo].[Scope] ([ScopeId], [Description]) VALUES (3, N'Database')
INSERT [dbo].[Scope] ([ScopeId], [Description]) VALUES (4, N'File')
INSERT [dbo].[Scope] ([ScopeId], [Description]) VALUES (5, N'Table')
INSERT [dbo].[Scope] ([ScopeId], [Description]) VALUES (6, N'Index')
INSERT [dbo].[Scope] ([ScopeId], [Description]) VALUES (7, N'StoredProcedure')
INSERT [dbo].[Scope] ([ScopeId], [Description]) VALUES (8, N'View')
INSERT [dbo].[Scope] ([ScopeId], [Description]) VALUES (9, N'User')


INSERT [dbo].[Category] ([CategoryId], [Description]) VALUES (1, N'Backup/restore')
INSERT [dbo].[Category] ([CategoryId], [Description]) VALUES (2, N'Security')
INSERT [dbo].[Category] ([CategoryId], [Description]) VALUES (3, N'Configuration')
INSERT [dbo].[Category] ([CategoryId], [Description]) VALUES (4, N'Disk/IO')
INSERT [dbo].[Category] ([CategoryId], [Description]) VALUES (5, N'Memory')
INSERT [dbo].[Category] ([CategoryId], [Description]) VALUES (6, N'Index tuning')
INSERT [dbo].[Category] ([CategoryId], [Description]) VALUES (7, N'T-SQL tuning')
INSERT [dbo].[Category] ([CategoryId], [Description]) VALUES (8, N'Memory')
INSERT [dbo].[Category] ([CategoryId], [Description]) VALUES (9, N'CPU')
INSERT [dbo].[Category] ([CategoryId], [Description]) VALUES (10, N'Waitstats')
INSERT [dbo].[Category] ([CategoryId], [Description]) VALUES (11, N'Installation')

USE [SQLServerOptimizer]
GO
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (1001, 4, 1, 3, N'The Server {ServerName} has less than 10 percent storage space on drive {Drive}.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (1002, 4, 1, 1, N'The Server {ServerName} has more than one SQL Server instance installed.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (2001, 11, 2, 3, N'The SQL Server instance {InstanceName} has an outdated service pack installed: {oldSP}. The newest service pack available is: {newSP} ({DescriptionSP}).')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (2002, 2, 2, 1, N'The SQL Server Instance {InstanceName} has two or more different logins being used as owner for the databases other than sa. ')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (2003, 2, 2, 1, N'The SQL Server Instance {InstanceName} has many logins with SysAdmin privileges, these logins are: {LoginNames}.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (2004, 3, 2, 1, N'The SQL Server Instance {InstanceName} has a number of {counttempdb} temp data files that is not equal to the number of physical processors ({procCount}).')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (2005, 3, 2, 1, N'The SQL Server Instance {InstanceName} has Ole Automation Procedures enabled.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (2006, 3, 2, 1, N'The SQL ServerInstance {InstanceName} has Xp_CmdShell enabled.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (2007, 11, 2, 2, N'The SQL Server Instance {InstanceName} has its Server authentication set to "Windows Authentication Mode".')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (2008, 5, 2, 2, N'The SQL Server Instance {InstanceName} Max Concurrent User Connections setting is not set to the default of “0”.')

INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (2010, 4, 2, 2, N'The Service {InstanceName} has its temp file on the same drive as the datafiles.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (3001, 1, 3, 3, N'The Database {Database} has a recovery model set to Full but there are no recent log backups for this database. This causes the log file to grow.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (3002, 1, 3, 3, N'The Database {Database} has no recent backup.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (3003, 4, 3, 3, N'The Database {Database} has a data file (MDF) which is located on the C: drive which is the same drive as your Windows installation.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (3004, 3, 3, 2, N'The Database {Database} is Offline.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (3005, 4, 3, 2, N'The Database {Database} has a log file size of {LogSize} MB which is larger than the data file (MDF) size of {DataSize} MB.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (3006, 3, 3, 1, N'The Database {Database} has a compatibility level set to {CompatibilityLevel} which is not the latest compatibility level for this SQL Server version.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (3007, 4, 3, 1, N'The Database {Database} its data file and log file are on the same logical drive.')

INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (3009, 3, 3, 3, N'The Database {Database} with the file {FileName} has a restricted file size of {MaxSize} MB.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (3010, 3, 3, 3, N'The Database {Database} has its autogrowth setting for the mdf file set to less than 10% of its size. This setting can cause fragmentation on disk. Autogrowth is set to: {autogrowthsetting}.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (3011, 3, 3, 3, N'The Database {Database} has its autoshrink setting turned on. This setting can cause fragmentation on disk.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (3012, 3, 3, 2, N'The PAGE_VERIFY option for database {Database} is set to None.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (5002, 6, 5, 3, N'The Table {TableName} in database {DatabaseName} has no clustered index.')

INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (6001, 6, 6, 2, N'The Database {DatabaseName} has a fragmented clustered index {IndexName} on the table {TableName}.')
INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (6002, 6, 6, 2, N'The Database {DatabaseName} has a non-clustered index {IndexName} on the table {TableName} that is not being used for index seeks.')


INSERT [dbo].[IssueType] ([IssueTypeId], [CategoryId], [ScopeId], [Severity], [Description]) VALUES (9001, 2, 9, 2, N'The User {DatabaseUser} on Database {DatabaseName} is an orphaned user with no associated login.')

INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (2010,N'Move the tempdb to a faster drive instead of its default location in c:\.',N'How to move temp db',N'http://www.sqlserveroptimizer.com/2011/07/how-to-move-temp-db-in-sql-server-200020052008-r2/')
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (3001,N'Include a log file backup in your maintenance plan.',N'How to set up a good maintenance plan',null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (3002,N'Include a full backup in your maintenance plan.',N'How to set up a good maintenance plan',null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (3003,N'Move data files to a separate drive from your operating system drive.',N'How to move a user database',N'http://www.sqlserveroptimizer.com/2011/08/how-to-move-a-user-database-in-sql-server-20052008-r2/')
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (3004,N'Bring the database back online.',N'How to bring database back online',null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (3005,N'Shrink the log file.',N'How to shrink the log file',null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (3006,N'Change your database compatibility level to one that corresponds with your server version.',N'How to change the your compatibility level of a database ',null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (3007,N'Move log files to a separate drive, from your data files.',N'How to move log files.',null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (1001,N'Free up space on your drive.',null,null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (2001,N'Install the latest Service Pack.',null,null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (2002,N'Reduce the number of different database owners.',N'How to Reduce the number of database owners',null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (9001,N'Relink orphaned database users to the corresponding logins.',N'How to fix orphaned database users','http://www.sqlserveroptimizer.com/2011/08/how-to-script-logins-from-user-database-in-sql-server-20052008-r2/')
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (2003,N'Reduce the number of System administrators.',N'How to reduce the number of system administrator logins',N'http://www.sqlserveroptimizer.com/2011/08/how-to-script-logins-from-user-database-in-sql-server-20052008-r2/')

INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (6001,N'Defragment your indexes.',N'How to defragment indexes.',null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (6002,N'Remove the index.',N'How to remove an indexe.',null)

INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (5002,N'Create a clustered index.',N'How to create a clustered index.',null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (3011,N'Turn off the autoshrink setting on your database.',N'How to disable autoshrink.',null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (3009,N'Turn off restricted file growth on your database.',N'How to set up file growth settings for a database.',null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (3010,N'Change the autogrowth setting to a higher value.',N'How to set up file growth settings for a database.',null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (2004,N'Configure the number of files in your temporary database to be equal to the number of processors.',N'How to configure temporary database for optimal performance.',null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (2005,N'Disable Ole Automation.',N'How to disable ole automation.',null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (2006,N'Disable Xp cmd shell.',N'How to disable Xp cmd shell.',null)
INSERT [dbo].[Recommendation]([RecommendationId],[Description],[HowToTitle],[HowToUrl]) VALUES (2007,N'Change your server authentication setting to use mixed mode authentication.',N'How to change to mixed mode authentication',null)


INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (1001,1001,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (2001,2001,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (2002,2002,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (2003,2003,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (2004,2004,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (2005,2005,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (2006,2006,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (2007,2007,1)


INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (2010,2010,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (3001,3001,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (3002,3002,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (3003,3003,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (3004,3004,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (3005,3005,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (3006,3006,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (3007,3007,1)

INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (3009,3009,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (3010,3010,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (3011,3011,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (5002,5002,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (6001,6001,1)
INSERT [dbo].[RecommendationIssueType]([RecommendationId],[IssueTypeId],[Order]) VALUES (9001,9001,1)


INSERT [dbo].[DatabaseRole] ([DatabaseRoleId], [Name]) VALUES (1, N'db_acessadmin')
INSERT [dbo].[DatabaseRole] ([DatabaseRoleId], [Name]) VALUES (2, N'db_backupoperator')
INSERT [dbo].[DatabaseRole] ([DatabaseRoleId], [Name]) VALUES (3, N'db_datareader')
INSERT [dbo].[DatabaseRole] ([DatabaseRoleId], [Name]) VALUES (4, N'db_datawriter')
INSERT [dbo].[DatabaseRole] ([DatabaseRoleId], [Name]) VALUES (5, N'db_ddladmin')
INSERT [dbo].[DatabaseRole] ([DatabaseRoleId], [Name]) VALUES (6, N'db_denydatareader')
INSERT [dbo].[DatabaseRole] ([DatabaseRoleId], [Name]) VALUES (7, N'db_denydatawriter')
INSERT [dbo].[DatabaseRole] ([DatabaseRoleId], [Name]) VALUES (8, N'db_owner')
INSERT [dbo].[DatabaseRole] ([DatabaseRoleId], [Name]) VALUES (9, N'db_securityadmin')
INSERT [dbo].[DatabaseRole] ([DatabaseRoleId], [Name]) VALUES (10, N'public')
INSERT [dbo].[DatabaseRole] ([DatabaseRoleId], [Name]) VALUES (11, N'RSExecRole')


INSERT [dbo].[ServerRole] ([ServerRoleId], [Name]) VALUES (1, N'bulkadmin')
INSERT [dbo].[ServerRole] ([ServerRoleId], [Name]) VALUES (2, N'dbcreator')
INSERT [dbo].[ServerRole] ([ServerRoleId], [Name]) VALUES (3, N'diskadmin')
INSERT [dbo].[ServerRole] ([ServerRoleId], [Name]) VALUES (4, N'processadmin')
INSERT [dbo].[ServerRole] ([ServerRoleId], [Name]) VALUES (5, N'public')
INSERT [dbo].[ServerRole] ([ServerRoleId], [Name]) VALUES (6, N'securityadmin')
INSERT [dbo].[ServerRole] ([ServerRoleId], [Name]) VALUES (7, N'serveradmin')
INSERT [dbo].[ServerRole] ([ServerRoleId], [Name]) VALUES (8, N'setupadmin')
INSERT [dbo].[ServerRole] ([ServerRoleId], [Name]) VALUES (9, N'sysadmin')
